package leetcode.math;

import leetcode.math.common.MathUtils;

class Solution171 {
    public int titleToNumber(String columnTitle) {
        return MathUtils.titleToNumber(columnTitle);
    }
}

public class leetcode171 {
    public static void main(String[] args) {
        Solution171 solution171 = new Solution171();
        System.out.println(solution171.titleToNumber("A"));
        System.out.println(solution171.titleToNumber("AB"));
        System.out.println(solution171.titleToNumber("ZY"));
        System.out.println(solution171.titleToNumber("FXSHRXW"));
    }
}
